<?php

namespace app\api\validate;


class TypeValidate extends BaseValidate
{
    protected $rule = [
        'type' => 'require|isPositiveInteger',
    ];
    protected $message  =   [
        'type.require' => 'type不能为空',
        'type.isPositiveInteger'     => 'type必须是正整数'
    ];
}
